package com.sigmatrix.h5.web.mode;

import java.text.SimpleDateFormat;
import java.util.Date;

public class SmallProgramTitle {
	private Data keyword1;
	
	private Data keyword2;
	
	private Data keyword3;

	public static class Data{
		private String value;

		public Data(String value) {
			super();
			this.value = value;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}


	public SmallProgramTitle(String keyword1, String keyword2, Date keyword3) {
		super();
		this.keyword1 = new Data(keyword1);
		this.keyword2 = new Data(keyword2);
		this.keyword3 = new Data(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(keyword3));;
	}


	public Data getKeyword1() {
		return keyword1;
	}


	public void setKeyword1(Data keyword1) {
		this.keyword1 = keyword1;
	}


	public Data getKeyword2() {
		return keyword2;
	}


	public void setKeyword2(Data keyword2) {
		this.keyword2 = keyword2;
	}


	public Data getKeyword3() {
		return keyword3;
	}


	public void setKeyword3(Data keyword3) {
		this.keyword3 = keyword3;
	}
	
}
